<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: {class: "form-signin"}) do |f| %>
<%= f.error_notification %>
<h2 class="text-center">注册账户</h2>
	<%= f.input :name, required: true, autofocus: true, label: false, placeholder: "请输入用户名", input_html: {class: "form-control"} %>
	<%= f.input :email, required: true, label: false, placeholder: "请输入Email", input_html: {class: "form-control"} %>
	<%= f.input :password, required: true, label: false, placeholder: "请输入密码", input_html: {class: "form-control"} %>
	<%= f.button :submit, "马上注册", class: "btn btn-primary btn-block btn-lg" %>
<% end %>

<%= render "devise/shared/links" %>
